<template>
  <div id="search" :style="{backgroundColor:`${styles.colorBg}`}">
    <div
      class="search"
      :style="{
      backgroundColor:styles.colorInput,
      textAlign:styles.wordStatus,
      borderRadius:styles.circle+'px',
      marginTop:styles.marginTop+'px',
       marginBottom:styles.marginBottom+'px',
        marginLeft:styles.marginLR+'px',
         marginRight:styles.marginLR+'px',}"
    >
      <svg :style="{color:styles.colorWord}" style="width:20px;height:20px;" class="icon" aria-hidden="true">
        <use xlink:href="#iconsousuo1" />
      </svg>

      <span :style="{color:styles.colorWord}">{{styles.text}}</span>
    </div>
  </div>
</template>

<script>
import { mapState, mapMutations } from "vuex";
export default {
  name: "search",
  data() {
    return {
      name: "search",
    };
  },
  props: ["styles"],
  computed: {},
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
#search {
  padding:10px;
  .search {
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
  }
}
</style>
